package com.first.course.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.first.common.pojo.EduSubject;
import com.first.course.vo.EduSubjectVo;
import io.swagger.models.auth.In;


/**
 * @program: first-project
 * @description:
 * @author: 路志欣
 * @create: 2023-05-27 16:13
 **/

public interface EduSubjectService {

    //分页模糊查询
    Page<EduSubject> findSubject(Integer pageCurrent, Integer pageSize, EduSubjectVo eduSubjectVo);

    //更新状态
    Integer ChangeStatusId(String id,String statusId,String parentId);

    //添加分类
    Integer insertsubject(EduSubject eduSubject);

    //修改分类
    Integer updatesubject(EduSubject eduSubject);

    //删除
    Integer deletesubject(String id);
}
